home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000217-20000824 / 000303_news@columbia.edu _Tue May 16 06:07:50 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id GAA07427
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Tue, 16 May 2000 06:07:50 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id GAA28117
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 16 May 2000 06:07:49 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id FAA16846
  10.     for kermit.misc@watsun.cc.columbia.edu; Tue, 16 May 2000 05:52:16 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: "ralf.strandell" <ralf.strandell@silja.com>
  13. Subject: translate produces rubbish
  14. Message-ID: <1T8U4.104$kw4.3981@read2.inet.fi>
  15. Date: Tue, 16 May 2000 09:51:57 GMT
  16. Organization: Sonera corp Internet services
  17. To: kermit.misc@columbia.edu
  18.  
  19.  
  20. Hi,
  21.  
  22. I'm using C-Kermit 7.0.196 for Unixware
  23. on an Unixware 7.0.1 server.
  24.  
  25. I'm trying to convert files from ascii to cp850
  26. (from unix to dos) but when I give the command:
  27. "translate testfile1 ascii cp850 testfile2"
  28. then testfile2 contains nothing sane.
  29.  
  30. Examples: let's convert from ascii to ascii (identical)
  31.  
  32. file1 is:
  33.  
  34.     abc
  35.     def
  36.     123
  37.     ghi
  38.  
  39. after "translate file1 ascii ascii file2" I get file2:
  40.  
  41. b
  42. e
  43. 2
  44. h
  45.  
  46. What happened with the rest of the characters?
  47.  
  48. If I convert from ascii to cp850 ( or from ascii to latin1 )
  49. then all characters in the output file will be question marks.
  50.  
  51. What's wrong?
  52.  
  53. I need this conversion utility because not all data transfer applications
  54. know how to translate character sets.  (kermit does, but some files must be
  55. moved to directories that are mounted over network and
  56. the mv command does not convert anything... )
  57.  
  58.         Thanks for any help
  59.         Ralf
  60.  
  61.  
  62.